package com.example.shopping.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.shopping.pojo.domain.OrderDetailsBean;
import com.example.shopping.pojo.vo.DetailsVo;

import java.util.List;

/**
 * @author Dream
 * @version 1.0
 * @date 2020/11/9 11:53
 */
public interface OrderDetailsService extends IService<OrderDetailsBean> {

    /**
     * 订单详细添加
     * @param list
     */
    void addDetails(List<OrderDetailsBean> list,Integer orderId);

    /**
     * 查询订单详情
     * @param OrderId
     * @return
     */
    List<DetailsVo> getByOrderId(Integer OrderId);
}
